package com.zbkj.service.model.front.req.recycle;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@Data
public class SupplyApplyCancelReq {

    @ApiModelProperty(value = "订单号", required = true)
    private String orderNo;

    /**
     * @see ReturnType
     */
    @ApiModelProperty("退回类型")
    private String returnType;

    @ApiModelProperty("用户地址id")
    private Integer userAddressId;

    @AllArgsConstructor
    public enum ReturnType {

        EXPRESS("express"),

        PICKUP("pickup"),
        ;
        @Getter
        private final String code;
    }

}
